# Copyright (c) 2022 Presto Labs Pte. Ltd.
# Author: lucasyoo

import os
import sys

import fire

sys.path.append(os.path.expandvars("$HOME/workspace/fastfeature/coinstrat"))

from pynb.junglekim.delta_hedging_sim import DeltaHedgeSim
from pynb.junglekim.delta_hedging_sim2 import DeltaHedgeSim2


def main(sim_cls, *args, **kwargs):
  if sim_cls == 'montecarlo':
    # cls = DeltaHedgeSim(*args, **kwargs)
    # cls.summary()
    NotImplementedError('Currently Not Using')
  elif sim_cls == 'symbol':
    cls = DeltaHedgeSim2(*args, **kwargs)
    cls.report(savefig=True)
  else:
    NotImplementedError(f'Unknown sim_cls: {sim_cls}')


if __name__ == '__main__':
  fire.Fire(main)
